package com.wayhome.srpingbootmybatis.utils;

import java.util.Arrays;
import java.util.List;

public class AdmdvsUtil {

    public static final List<String> admdvsList = Arrays.asList("130181", "130682","139903","139904", "139905");

    public static String replaceAdmdvs(String admdvs) {
        if (admdvsList.contains(admdvs)) {
            return admdvs;
        }else {
            return admdvs.substring(0,4)+"00";
        }

    }
}
